/*
 * @Author: wuqingchun
 * @Date: 2024-04-20 23:00:20
 * @Description: 
 * @LastEditors: wuqingchun
 * @LastEditTime: 2024-04-20 23:15:36
 */
#include <iostream>

#include "shape_circle.h"

Circle::Circle()
{
    std::cout << "Circle::Circle()" << std::endl;
}

Circle::~Circle()
{
    std::cout << "Circle::~Circle()" << std::endl;
}

void Circle::Draw()
{
    std::cout << "Radius: " << m_dfRadius << std::endl;
}

double Circle::CalcArea()
{
    return PI * m_dfRadius * m_dfRadius;
}

double Circle::CalcPerimeter()
{
    return 2 * PI * m_dfRadius;
}